﻿创建机构

<% form_for(:user, :url => { :action => "create" }) do |f| %>

    机构名: <br/>
    <%= text_field :user, :name %><%= error_message_on :user, :name %><br/>

    用户名: <br/>
    <%= text_field :user, :username %><%= error_message_on :user, :username %><br/>

    密码:<br/>
    <%= password_field :user,:password %><%= error_message_on :user, :password %><br/>

    确认密码:<br/>
    <%= password_field :user, :password_confirmation %><%= error_message_on :user, :password_confirmation %> <br/>

    email: <br/>
    <%= f.text_field :email %><br/>

    允许创建多少个测试帐户：<br/>
    <%= f.text_field :account_num %><br/>
  <br/>

  <p>
    <%= f.submit "保存" %>
  </p>
<% end %>
